<include file="public@header"/>

</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>流程</a></li>
        <li><a href="{:url('add')}">新增流程</a></li>
    </ul>
    <form method="post" class="js-ajax-form margin-top-20">


        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th style="width: 200px">时间</th>
                <th style="width: 100px">所属项目</th>
                <th>描述</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <volist name="data" id="v">
                <tr>
                    <td>{$v.date}</td>
                    <td>{$v['lname']}</td>
                    <td style="table-layout: fixed;width: 500px">{$v.desc}</td>
                    <td>
                        <a class="btn btn-xs btn-success js-ajax-submit"
                           href="{:url('send',array('id'=>$v['id']))}">发布流程</a>

                        <a class="btn btn-xs btn-primary js-ajax-submit"
                           href="{:url('see',array('id'=>$v['id']))}">查看详情</a>

                        <a class="btn btn-xs btn-danger js-ajax-delete" class=""
                           href="{:url('del',array('id'=>$v['id']))}">{:lang('DELETE')}</a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>

    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>